﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ETA.DomainEnum;

namespace ETA.Entity
{
    public partial class RegistrationBasicInfo
    {
        public virtual EducationLevelEnum EducationLevelEnum { get; set; }
        public virtual SexEnum SexEnum { get; set; }

        /// <summary>
        /// 原工种
        /// </summary>
        public virtual List<string> OrginalJobsList
        {
            get
            {
                var list = new List<string>();
                if (!string.IsNullOrEmpty(this.OrginalJobs))
                {
                    list = new List<string>(this.OrginalJobs.Split('$'));
                }
                return list;
            }
        }

        /// <summary>
        /// 实习工种
        /// </summary>
        public virtual List<string> NewJobsList
        {
            get
            {
                var list = new List<string>();
                if (!string.IsNullOrEmpty(this.NewJobs))
                {
                    list = new List<string>(this.NewJobs.Split('$'));
                }
                return list;
            }
        }

    }
}
